package com.example.AIstudy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@TableName("translatedetail")
@EqualsAndHashCode(callSuper = false)
public class TranslateDetail implements Serializable {
    //自增的主键
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //准确性评分
    @TableField("accuracyScore")
    public int accuracyScore;

    //准确性评分依据
    @TableField("accuracyComment")
    public String accuracyComment;

    //流畅度评分
    @TableField("fluencyScore")
    public int fluencyScore;

    //流畅度评分依据
    @TableField("accuracyComment")
    public String fluencyComment;

    //语法结构评分
    @TableField("syntaxScore")
    public int syntaxScore;

    //语法结构评分依据
    @TableField("syntaxComment")
    public String syntaxComment;

    //总分
    @TableField(exist = false)
    public int totalScore;

    @TableField("detailedSuggestions")
    public String detailedSuggestions;

}
